package com.peycard.persistence.dao.local;
import java.util.List;

import javax.ejb.Local;

import com.peycard.persistence.PersistenceException;
import com.peycard.persistence.entities.Adsysuser;

@Local
public interface AdSysUserDAOLocal extends GenericDAO<Adsysuser, Long>{

	Adsysuser findByName(String name) throws PersistenceException;

	Adsysuser findByEmail(String email) throws PersistenceException;
	
	List<Adsysuser> getUsers() throws PersistenceException;
}
